package com.alibaba.cloud.client9093.service.impl;

import com.alibaba.cloud.client9093.dao.IndexDao;
import com.alibaba.cloud.client9093.entity.User;
import com.alibaba.cloud.client9093.service.IndexService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * created by wuquan at 05/12/2021
 * ^_^ ^_^
 */
@Service
public class IndexServiceImpl implements IndexService {


    @Autowired
    private IndexDao indexDao;


    @Override
    public int insertUser(String name) {
        indexDao.insertUser(name);
        return 1/0;
    }
}
